﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace KioskosJugandoLimpio.Admin
{
    public partial class TiposDePreguntas : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            Classes.SQL.fnExec(string.Format("EXEC nuevoTipoPregunta '{0}' ,'{1}'" , txtTipoDePregunta.Text , txtControlDefault.Text));
            GridView1.DataBind();
        }
    }
}